package com.zzyl.mapper;

import com.zzyl.entity.NursingProjectPlan;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectPlanMapper {

    @Delete("delete  from nursing_project_plan where plan_id=#{id} ")
    void deleteByPlanId(Long id) ;

    void insert(List<NursingProjectPlan> nursingProjectPlans);


}
